<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<html>
	<head>
		  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	  <meta http-equiv="X-UA-Compatible" content="IE=edge">
    	  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    	  <meta name="renderer" content="webkit">
    	   <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/pintuer.css">
    	   <link rel="stylesheet" href="${pageContext.request.contextPath}/admin/css/admin.css">
    	   <script src="${pageContext.request.contextPath}/admin/js/jquery.js"></script>
    	   <script src="${pageContext.request.contextPath}/admin/js/pintuer.js"></script>  
	</head>
  <body>
   <div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span> 添加一维数据字典</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="">   
      <input type="hidden" name="id"  value="" />  
      <div class="form-group">
        <div class="label">
          <label>字典编码：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="dictCode" value="" placeholder="请输入字典编码" data-validate="required:请输入字典编码" />         
          <div class="tips"></div>
        </div>
      </div> 
      <div class="form-group">
        <div class="label">
          <label>字典名称：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="dicName" value="" placeholder="请输入字典名称" data-validate="required:请输入字典名称" />         
          <div class="tips"></div>
        </div>
      </div> 
       <div class="form-group">
             <div class="label">
          <label>字典类型:</label>
        </div>
       	<li>
          <select name="dictType" class="input" style="width:200px; line-height:17px;" onchange="changesearch()">
              <option value="">请选择分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
              <option value="">产品分类</option>
            </select>
      	</li>
      </div>
      <!--<div class="form-group">
        <div class="label">
          <label>角色状态：</label>
        </div>
        <div class="field">
          <input type="text" id="url1" name="banner" class="input tips" style="width:25%; float:left;"  value="" data-toggle="hover" data-place="right" data-image="" />
          <input type="button" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">
          <div class="tipss">图片尺寸：1920*200</div>
        </div>
      </div>
       -->
      <!--<div class="form-group">
        <div class="label">
          <label>角色状态：</label>
        </div>
        <div class="field">
          <div class="button-group radio">
          
          <label class="button active">
         	  <span class="icon icon-check"></span>             
              <input name="role_flag" value="0" type="radio" checked="checked">启用             
          </label>             
        
          <label class="button active"><span class="icon icon-times"></span>          	
              <input name="role_flag" value="1"  type="radio">禁用
          </label>         
           </div>       
        </div>
     </div>       
      --><div class="form-group">
        <div class="label">
          <label>顺序号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="sort" value="0"  data-validate="required:,number:排序必须为数字" />
          <div class="tips"></div>
        </div>
      </div>
      <!--<div class="form-group">
        <div class="label">
          <label>关键字描述：</label>
        </div>
        <div class="field">
          <textarea type="text" class="input" name="s_desc" style="height:100px;" ></textarea>        
        </div>
     </div>
     -->
      <div class="form-group">
        <div class="label">
          <label>描述：</label>
        </div>
        <div class="field">
          <input type="text" class="input" name="description" style="height:120px" value=""/>        
        </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
          <button id="cancel" class="button bg-main icon-fast-forward" type="button"> 返回</button>
        </div>
      </div>
    </form>
  </div>
</div>
  </body>
  <script type="text/javascript">
  
  	 $(function(){
  	 	
  	 	
  	 });
  	 
  	 $("#cancel").click(function(){
  	 		location.href="${pageContext.request.contextPath}/oneLevelDictionary/";
  	 })
  </script>
</html>
